<template>
  <div>
    <div class="title-container">
      <div class="title-header"></div>
      <div class="title-text">{{ title }}</div>
  </div>
  </div>
</template>

<script>
export default {
  name:'titleChart',
  props:{
    title:{
      type:String,
      default:''
    }
  }
}
</script>

<style lang="scss" scoped>
.title-container {
  display: flex;
  align-items: center;
  height: 20px;
  .title-header {
    width: 4px;
    height: 16px;
    background: #00B23C;
    border-radius: 1px 1px 1px 1px;
    opacity: 0.6;
    margin-right: 8px;
  }
  .title-text {
    width: 64px;
    height: 16px;
    font-family: PingFang SC, PingFang SC;
    font-weight: 600;
    font-size: 16px;
    color: rgba(255,255,255,.7);
    line-height: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
  }
}
</style>
